package cn.fl.dk.web.transform;

import cmm.comm.facade.framework.dto.SysDictionaryDTO;
import cmm.mid.core.framework.page.KeyValueVO;
import cn.fl.dk.base.transform.BaseKeyValueVOTransform;

import java.util.ArrayList;
import java.util.List;

/**
 * 作者:hongyanbo
 * 时间:2018/6/1
 */
public class KeyValueVOTransform extends BaseKeyValueVOTransform {
    public static List<KeyValueVO> toVoList(List<SysDictionaryDTO> dtoList){
        ArrayList<KeyValueVO> voList = new ArrayList<>();
        for (SysDictionaryDTO sysDictionaryDTO : dtoList) {
            voList.add(toVO(sysDictionaryDTO));
        }
        return voList;
    }
}
